import server from './server'


export function requestOfGet(url:string, params: any) {
    return server.get(url, params)
}

export function requestOfPost(url:string, params: any) {
    return server.post(url, params)
}

export function requestOfPut(url:string, params: any) {
    return server.put(url, params)
}

export function requestOfDelete(url:string, params: any) {
    return server.delete(url, params)
}